package info.hexin.redis.model;

import java.io.Serializable;

/**
 * Created by Hermen on 2014/12/16.
 */
public class RedisParams implements Serializable {

    private static final long serialVersionUID = -932578518089898952L;

    private String url;
    private String uuid;
    private String methodName;
    private String params;
    private int retryTimes = 1;
    private boolean wait; //是否等待

    //回调包含apiCallbackTargetType和map参数
    private String targetAndEquipment;

    private String resultClassName;

    //post文件上传相关
    private String fileName;
    private byte[] context;

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    private Double score;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public boolean isWait() {
        return wait;
    }

    public void setWait(boolean wait) {
        this.wait = wait;
    }

    public int getRetryTimes() {
        return retryTimes;
    }

    public void setRetryTimes(int retryTimes) {
        this.retryTimes = retryTimes;
    }



    public String getTargetAndEquipment() {
        return targetAndEquipment;
    }

    public void setTargetAndEquipment(String targetAndEquipment) {
        this.targetAndEquipment = targetAndEquipment;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public byte[] getContext() {
        return context;
    }

    public void setContext(byte[] context) {
        this.context = context;
    }

    public String getResultClassName() {
        return resultClassName;
    }

    public void setResultClassName(String resultClassName) {
        this.resultClassName = resultClassName;
    }
}
